package com.zycloud.Facade;

import com.alibaba.dubbo.config.annotation.Service;
import com.zycloud.facade.UserFacade;
import com.zycloud.facade.dto.UserDto;
import com.zycloud.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;

@Service
public class UserFacadeImpl implements UserFacade {

    @Autowired
    private UserService userService;

    @Override
    public UserDto loadUserByUserId(int id) {
        return userService.loadUserByUserId(id);
    }
}
